home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VWRTMETA.S < prev   
Text File  |  1993-03-25  |  1KB  |  40 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;*
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _v_write_meta
  11. _v_write_meta:
  12.  
  13. ;    .cargs    #8,handle.w,ninitin.w, pintin.l,nptsin.w,pptsin.l
  14.  
  15. handle      =         8
  16. nintin      =        10
  17. pintin      =        12
  18. nptsin      =        16
  19. pptsin      =        18
  20.  
  21.           link        a6,#0
  22.  
  23. ;          VContrl    #5,#99,nptsin,nintin
  24.           move.w    handle(a6),-(sp)    ; contrl[6] ; handle
  25.           move.w    #99,-(sp)            ; contrl[5] ; subfunction
  26.           subq.l    #2,sp                ; contrl[4] ; intout count
  27.           move.w    nintin(a6),-(sp)    ; contrl[3] ; intin  count
  28.           subq.l    #2,sp                ; contrl[2] ; ptsout count
  29.           move.w    nptsin(a6),-(sp)    ; contrl[1] ; ptsin  count
  30.           move.w    #5,-(sp)            ; contrl[0] ; opcode
  31.  
  32.           subq.l    #8,sp                ;* -> ptsout
  33.           move.l    pptsin(a6),-(sp)    ;* -> ptsin
  34.           move.l    pintin(a6),-(sp)    ;* -> intin
  35.           pea        16(sp)                ;* -> contrl
  36.  
  37.           jmp        vdicall
  38.  
  39.           end
  40.